<html lang="en">
<head>

<title>YouTunes</title>
<!--<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
  html, body, #containerA, #containerB { height:100%; }
  body { margin:0; padding:0; overflow:hidden; }
</style>-->
<meta http-equiv="flashMovie-Type" flashMovie="text/html; charset=utf-8" />
<style type="text/css" media="screen">
	html, body{
		margin:0;
		padding:0;
		height:100%;
	}
	#flashContainer{
		width:100%;
		height:100%;
	}
</style>
<script type="text/javascript" src="js/swfobject.js"></script>

<script type="text/javascript">
		//<![CDATA[

		function setFlashSize(flashWidth,flashHeight){
			var size = [0,0];
			if( typeof( window.innerWidth ) == 'number' ) {
				size = [window.innerWidth, window.innerHeight];
			} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
				size = [document.documentElement.clientWidth, document.documentElement.clientHeight];
			} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
				size = [document.body.clientWidth, document.body.clientHeight];
			}
			window.onresize = function() {
				document.getElementById("MainSWF").style.minWidth = flashWidth+"px";
				document.getElementById("MainSWF").style.minHeight = flashHeight+"px";
				document.getElementById("MainSWF").style.width = size[0] < flashWidth ? flashWidth+"px" : "100%";
				document.getElementById("MainSWF").style.height = size[1] < flashHeight ? flashHeight+"px" : "100%";
			};
			window.onload = function(){
				window.onresize();
			}
		}
		//]]>*/
		</script>
</head>

<body>
	<div id="MainSWF">YouTunes</div>


<script language="JavaScript" type="text/javascript"> 
		var so = new SWFObject("flex/YouTunes.swf", "MainSWF", "100%", "100%", "9"); 
		/*so.addVariable("url", "{{ url }}");
		so.addVariable("nickName", "{{ name }}");
		so.addVariable("serverUrl", "{{ serverUrl }}");
		so.addVariable("isKnownUser", {{ isKnownUser }});
		so.addVariable("desktopUrl", "{{ desktopUrl }}");*/ 
		so.write("MainSWF"); 
		setFlashSize(955,600); //set the minimum width and height of your Flash movie		
	</script>
</body>
</html>
